package com.cxm.qyyz.app;

import com.cxm.qyyz.BuildConfig;

import java.util.ArrayList;
import java.util.List;

public class Constants {

    public static String BASE_URL = BuildConfig.BASE_URL;


    public static final String ADVANCE_INIT = "umInit";

    public static final String TK_IO = "oceanEngine";

    public static final String USER_INFO = "userInfo";

    public static final String LOGIN_FIRST = "LOGIN_FIRST";

    public static final String LOGIN_PWD = "app/login/auth/pwd";

    public static final String LOGIN_CODE = "app/login/auth/code";

    public static final String SEND_CODE = "app/login/send/code";

    public static final String REGISTER = "app/login/register";

    public static final String RESET = "app/login/update/upPwdByCaptcha";

    public static final String MODIFY = "app/login/update/pwd";

    public static final String VERSION = "app/login/get/check/version";

    public static final String NOTICE = "app/login/get/article";

    public static final String DRAW_NOTICE_AWARD = "app/login/post/article";

    public static final String CONFIG = "app/login/get/config";

    public static final String BOX_LIST = "app/index/get/box/list";

    public static final String CHECK_NEW = "app/center/get/isNew";

    public static final String EFFECTIVE_COUPON = "app/center/get/coupon/box";

    public static final String DISCOUNT_LIST = "app/center/get/coupon";

    public static final String DISCOUNT_GET = "app/center/post/coupon";

    public static final String DRAW_LIST = "app/center/get/card";

    public static final String DRAW_GET = "app/center/post/card";

    public static final String LANTERN_DATA = "app/index/get/goodsSlide";

    public static final String BOX_PARAMS = "app/index/get/box/times";

    public static final String HOME_BOX_PARAMS = "app/index/get/box/timesAndDiscount";

    public static final String COUPON_COUNT = "app/center/get/couponCount";

    public static final String CARD_COUNT = "app/center/get/cardCount";

    public static final String SELECT_COUPON_CARD_COUNT = "app/center/get/selectCouponCardCount";

    public static final String SHARE_INFO = "app/thirdParty/getConuponShareCount";

    public static final String SHARE_GIFT = "app/thirdParty/addMhUserConuponShare";

    public static final String GIFT_LIST = "app/index/get/box/detail";

    public static final String PLAY_INSTRUCTIONS = "app/index/get/rule/detail";

    public static final String COMMODITY = "app/mall/get/goods/details";

    public static final String USER_TREASURE = "app/index/get/count";

    public static final String COMMODITY_COLLECTION = "app/center/add/collection";

    public static final String COMMODITY_IS_COLLECTION = "app/mall/get/goods/isCollect";

    public static final String COMMODITY_CANCELLATION = "app/center/delete/collection";

    public static final String COMMODITY_PRICE = "app/mall/get/goods/attr/price";

    public static final String COMMODITY_LIST = "app/center/get/collection/list";

    public static final String RECOMMEND_LIST = "";

//    public static final String CANCELLATION = "app/login/cancel/account";
    public static final String CANCELLATION = "app/login/cancel/accountIos";

    public static final String DEFAULT_ADDRESS = "app/center/get/address/default";

    public static final String ALL_ADDRESS = "app/center/get/address/page";

    public static final String AREA = "app/center/get/region/list";

    public static final String NEW_ADDRESS = "app/center/add/address";

    public static final String EDIT_ADDRESS = "app/center/edit/address";

    public static final String REMOVE_ADDRESS = "app/center/delete/address";

    public static final String PAYMENT_METHOD = "app/pay/switch/paySwitchList";

    public static final String PAY_ORDER = "app/mall/save/goods/order";

    public static final String ALIPAY_ORDER = "app/pay/order/pay";

    public static final String WECHAT_ORDER = "app/pay/order/payHstyH5";

    public static final String POSTAGE_PAYMENT = "app/pay/order/payPostage";

    public static final String POSTAGE_WECHAT_PAY = "app/pay/order/payHstyH5Postage";

    public static final String BOX_ORDER = "app/index/save/box/order";

    public static final String SEC_BOX_ORDER = "app/seckill/get/seckillBox";

    public static final String COMMIT_SHEET = "app/center/add/complaint";

    public static final String COUPON_LIST = "app/center/get/coupon/list";

    public static final String TARGET_BOX = "app/index/get/box/info";

    public static final String ORDER_BOX = "app/index/get/order/box";

    public static final String POSTAGE = "app/center/get/address/postage";

    public static final String LOCATION_DETAIL = "app/center/get/address";

    public static final String RANK_LIST = "app/index/gasRankSort/list";

    public static final String PUNCH_CLOCK = "app/center/selectSignRecordList";

    public static final String PUNCH_THE_CLOCK = "app/center/newImmediatelySignIn";

    public static final String WELFARE_PERSONAL_CENTER = "app/center/get/selectMyWelfare";

    public static final String HISTORY_NOTICE = "app/login/get/articleList";

    public static final String DURATION_DATA = "app/seckill/get/seckillSegment";

    public static final String POINT_DATA = "app/seckill/get/indexSeckillList";

    public static final String RUSH_DATA = "app/seckill/get/seckillSegmentBoxList";

    public static final String RUSH_LIST = "app/seckill/get/getSeckillBoxDetail";

    public static final String RUSH_NOTIFY = "app/seckill/get/getSeckillBoxNotify";

    public static final String MEDIA_DATA = "app/index/get/getAppMusicOrGuide";

    //商城首页获取1级tab
    public static final String MALL_TYPE_LIST = "app/mall/get/one/type/list";
    //商城获取banner数据
    public static final String MALL_BANNER_LIST = "app/mall/get/banner/getBannerAndSecondTypeByGoodsType";
    //商城获取下面列表数据
    public static final String MALL_LIST = "app/mall/get/goods/page";
    //获取全部tab
    public static final String GET_TYPE_LIST = "app/mall/get/type/list";
    //获取热销
    public static final String GET_HOT_SEARCH = "app/mall/get/hotSearch/List";
    //获取订单分类状态
    public static final String GET_BY_GROUP_CONT = "app/center/get/order/byGroupCount";
    //获取订单列表
    public static final String GET_ORDER_LIST = "app/center/get/boxAndGoodsOrder/list";
    //获取我的商品列表
    public static final String GET_GOODS_PAGE = "app/center/get/goods/page";
    //获取我的盲盒列表
    public static final String GET_BOX_PAGE = "app/center/get/box/page";
    //出售商品
//    public static final String POST_GOODS_FB = "app/trans/save/goods/fb";
    public static final String POST_GOODS_FB = "app/trans/save/goods/toFb";
    //获取盲盒详情
    public static final String GET_BOX_DETAILS = "app/center/get/order/BoxOrderDetails";
    //招行支付获取支付信息
    public static final String POST_PAY_CMB = "app/pay/order/payCmb";
    //招行支付获取支付信息
    public static final String GET_QUERY_CMB = "app/pay/order/queryPayCmb";
    //招行付邮费
    public static final String POST_PAY_CMB_POSTAGE = "app/pay/order/payCmbPostage";

    //招行支付获取支付信息
    public static final String POST_PAY_HSTY = "app/pay/order/hstyAliPay";
    //招行支付获取支付信息
    public static final String GET_QUERY_HSTY = "app/pay/order/queryPayHsty";
    //招行付邮费
    public static final String POST_PAY_HSTY_POSTAGE = "app/pay/order/hstyAliPayPostage";


    //获取订单详情
    public static final String GET_ORDER_DETAILS = "app/center/get/order/details";
    //获取快递详情
    public static final String GET_ORDER_KD = "app/center/get/order/kd";
    //确认收货
    public static final String POST_CONFIRM_RECEIVE = "app/center/post/confirmReceive";
    //取消订单
    public static final String POST_CANCEL_ORDER = "app/center/post/cancelOrder";
    //获取热销商品
    public static final String GET_HOT_GOODS_LIST = "app/mall/get/hot/goods/list";
    //开启盲盒
    public static final String POST_ORDER_BOX = "app/center/get/user/box";
    //开启盲盒 新
    public static final String POST_ORDER_BOX_NEW = "app/center/get/user/openBox";
    //订单id开启盲盒
    public static final String POST_ORDER_ID_BOX_NEW = "app/index/get/order/onceBox";

    //使用重抽卡
    public static final String POST_REPEAT_OPENBOX = "app/center/get/user/repeatOpenBox";
    //一键登录
    public static final String A_LI_YUN_LOGIN = "app/login/auth/aliyunLogin";

    public static final String OPEN_MULTIPLE_BOX = "app/index/get/order/multipleBox";
    //修改头像
    public static final String UPDATE_HEADER_URL = "app/center/updateHeaderUrl";
    //修改昵称
    public static final String UPDATE_NICKNAME = "app/center/updateNickName";
    //我的卡片列表
    public static final String CARD_LIST = "app/center/get/card/list";
    //根据卡片获取
    public static final String CARD_BYBOX_ID = "app/center/get/user/cardByBoxId";
    //获取试玩次数
    public static final String FAKE_OPEN_COUNT = "app/index/get/fakeOpenCount";
    //上传绑定id
    public static final String DEVICE_ID = "app/center/excludeUnBindDevice";
    //上报成功 日志
    public static final String RE_YUN = "app/index/post/reyun";
    //获取许愿
    public static final String GET_WISH_POOL_LIST = "app/center/get/wishPoolList";

    //删除许愿
    public static final String DELETE_WISH_POOL = "app/center/delete/deleteWishPool";
    //新增许愿
    public static final String POST_ADD_WISH_POOL = "app/index/addWishPool";

    // 获取客服列表
    public static final String GET_PROBLEM_LIST = "app/center/get/problemList";
    // 获取半屏图
    public static final String GET_LOGIN_IMAGES = "app/login/get/functionBoxImags";
    // 获取启动页是否弹出权限
    public static final String GET_SPLASH_PE = "app/index/get/selectIndexPermissions";
    // 获取卡片规则
    public static final String GET_CARD_BAG_RULE = "app/center/get/cardBagRule";

    //删除订单
    public static final String POST_DELETE_ORDER = "app/center/post/deleteOrder";
    //新的商城获取 banner  数据接口
    public static final String GET_MALL_GOODS_TYPE = "app/mall/get/mallGoodsTypeBanner";
    /**
     * 获取公告详情
     */
    public static final String GET_MALL_BANNER_DETAILS = "app/mall/get/mallBannerDetail";
    /**
     * 获取是否能免费提货
     */
    public static final String GET_IS_CAN_FREE_EXTRACT = "app/mall/get/isCanFreeExtract";
    /**
     * 获取是否能免费提货
     */
    public static final String GET_IS_FIRST_LEVEL = "app/mall/get/isFirstGetLevel";
    /**
     * 上报手机id信息
     */
    public static final String POST_RE_YUN_SWITCH = "app/login/get/reyunSwitch";
    /**
     * 获取活动拼团列表
     */
    public static final String GET_GROUP_ACTIVITY = "app/groupActivity/get/groupActivityList";
    /**
     * 我的拼团取活动列表
     */
    public static final String GET_MY_GROUP_ACTIVITY = "app/groupActivity/get/myGroupActivityList";

	/**
     * 拼团详情
     */
    public static final String GROUP_BOOKING_DETAIL = "app/groupActivity/get/GroupRoomDetails";

	/**
     * 获取翻牌数据
     */
    public static final String GET_FLIP_CARD_INFO = "app/pokerCard/get/getMhPokerCard";

	/**
     * 获取翻牌奖励
     */
    public static final String GET_FLIP_CARD_AWARD = "app/pokerCard/turn/pokerCard";

	/**
     * 通过订单id获取拼团详情
     */
    public static final String GROUP_BOOKING_DETAIL_BY_ORDER_ID = "app/groupActivity/get/GroupRoomDetailsByOrderId";

	/**
     * 购买（团员）校验
     * 1.3.0以前的版本使用 以后废弃
     */
//    public static final String CHECK_CAN_GROUP_BOOKING = "app/groupActivity/get/checkGroupActivityBox";
    public static final String CHECK_CAN_GROUP_BOOKING = "app/groupActivity/get/checkGroupActivityBoxNew";

	/**
     *
     * 建团(团长)OR购买（团员）
     * 1.3.0以前的版本使用 以后废弃
     */
//    public static final String POST_GROUP_ACTIVITY_BOX = "app/groupActivity/get/groupActivityBox";
    //
    public static final String POST_GROUP_ACTIVITY_BOX = "app/groupActivity/get/groupActivityBoxNew";

	/**
     * 拼团领取奖励
     */
    public static final String DRAW_GROUP_BOOKING_AWARD = "app/groupActivity/get/sendGroupActivityAwardToUser";

	/**
     * 新手礼盒
     */
    public static final String GET_NEW_PLAYER_GIFT = "app/index/get/isCanByLimitBox";

    /**
     * 天天拆盲盒展示商品列表
     */
    public static final String GET_SELECT_DAYDAY = "app/index/get/selectNewOpenBoxShowGoodsList";

	/**
     * 每日活动奖励列表
     */
    public static final String GET_DAILY_ACTIVITY_AWARD = "app/index/get/dailyLimitAward";

	/**
     * 领取每日活动奖励
     */
    public static final String DRAW_DAILY_ACTIVITY_AWARD = "app/index/post/dailyLimitAward";
    /**
     * 3连开 天天开盲盒
     */
    public static final String OPEN_BOX_MULTIPLEORDERBOX = "app/index/get/order/getDaydayOpenMultipleOrderBox";
    /**
     * 3连开 天天开盲盒
     */
    public static final String OPEN_BOX_REPEAT_DAYDAY = "app/index/get/user/repeatDaydayOpenBox";

    /**
     * 单开接口
     */
    public static final String OPEN_BOX_SINGLE_ORDERID = "app/index/get/order/newOnceBox";
    /**
     * 多开接口
     */
    public static final String OPEN_BOX_MORE = "app/index/get/order/newMultipleBox";
    /**
     * 新手必买礼盒弹窗(新)
     */
    public static final String GET_NEW_PLAYER_BUY_GIFT = "app/index/get/user/selectDaydayOpenBox";
    /**
     * 获取图片
     */
    public static final String GET_BOX_DAYDAY_IAMGE = "app/index/get/user/selectDaydayOpenBoxGetAwardImage";
    /**
     * 任务列表
     */
    public static final String GET_CHESS_ACTIVITY = "app/task/selectChessActivityVo";
    /**
     * 下棋
     */
    public static final String POST_PLAY_CHESS = "app/task/playChess";
    /**
     * 领取奖励
     */
    public static final String POST_CHESS_AWARD = "app/task/getChessAward";
    /**
     * 单开重抽
     */
    public static final String POST_CHOICE_2_1 = "app/openBox/choice2to1/repeat";
    /**
     * 选择商品
     */
    public static final String POST_SELECT_CHOICE_2_1 = "app/openBox/choice2to1/choice";
    /**
     * 兑换神券列表
     */
    public static final String GET_BEAN_EXCHANGE_LIST = "app/task/beanExchangeList";
    /**
     * 兑换神券列表
     */
    public static final String POST_EXCHANGE_BYID = "app/task/exchangeById";

    /**
     * 获取全额返数据
     */
    public static final String GET_ALL_MONEY_RETURN_DATA = "app/index/get/selectIndexFullReturnImage";

    /**
     * 获取微信福利官二维码
     */
    public static final String GET_WX_WELFARE_OFFICE_QRCODE = "app/index/get/selectWxWelfareImage";
    /**
     *
     * 获拼团取活动参团人数列表
     */
    public static final String GET_GROUP_AWARD_LIST = "app/groupActivity/get/getMhGroupActivityAwardList";

    /**
     * 获取首页浮窗数据
     */
    public static final String GET_FLOAT_WIN_DATA = "app/index/get/indexFloatingWindowSort";

    /**
     *
     * 新盲盒订单确认支付页
     */
    public static final String GET_SELECT_BOX_CONFIRM = "app/index/get/selectBoxConfirmPayPageVo";

    /**
     * 获取盲盒详情
     */
    public static final String GET_BOX_DETAIL = "app/index/get/box/selectBoxInfoAndDetails";

    /**
     * 检测盲盒上下架
     */
    public static final String CHECK_BOX_IS_SALE = "app/index/get/selectBlindBoxOnSale";


    /**
     * 首页转盘弹窗页面数据
     */
    public static final String GET_HOME_LUCKY_ROULETTE_DATA = "app/index/get/selectIndexBigWheelVo";

    /**
     * 获取转盘抽奖奖励
     */
    public static final String GET_HOME_LUCKY_ROULETTE_AWARD = "app/index/post/indexLuckyDraw";

    /**
     * 获取转盘数据
     */
    public static final String GET_LUCKY_ROULETTE_INFO = "app/center/get/selectBigWheelVo";
    /**
     * 获取转盘记录
     */
    public static final String GET_LUCKY_ROULETTE_RECORD = "app/center/get/selectBigWheelFbLog";
    /**
     * 获取转盘抽奖奖励
     */
    public static final String GET_LUCKY_ROULETTE_AWARD = "app/center/post/luckyDraw";
    /**
     * 星空密寶 页面数据
     */
    public static final String GET_RELATION = "app/activity/star/getRelation";
    /**
     * 星空密寶 页面抽奖
     */
    public static final String GET_LOTTERY = "app/activity/star/lottery";
    /**
     * 星空密寶 页面规格
     */
    public static final String GET_STAR_RULE = "app/activity/star/getRule";

/**
     * 新链路创建订单
     */
    public static final String POST_SAVE_LINK_BOXORDER = "app/linkFive/save/linkFive/boxOrder";
    /**
     * 查询是否有未支付订单
     */
    public static final String CHECK_LINK_FIVE_BOXORDER = "app/linkFive/get/checkLinkFiveBoxOrder";
    /**
     * 查询是否有未支付订单
     */
    public static final String GET_SELECT_NEW_USER_BOX = "app/center/get/selectNewUserBox";

    /**
     * 获取客服地址
     */
    public static final String GET_SERVER_URL = "app/index/get/selectLevelKeFuUrl";



    /**
     * mallFragment tab
     * <p>
     * date 2021/12/15
     * author yzx
     */
    public static final String MALL_TAB = "MALL_TAB";


    // homeTab 是否需要隐藏
    public static final String HOME_TAB = "HOME_TAB";

    public static List<String> targetUrls = new ArrayList<>();

    static {
        targetUrls.add(BASE_URL + COMMODITY_CANCELLATION);
        targetUrls.add(BASE_URL + COMMODITY_COLLECTION);
        targetUrls.add(BASE_URL + COMMIT_SHEET);
        targetUrls.add(BASE_URL + CHECK_NEW);
        targetUrls.add(BASE_URL + POSTAGE);
        targetUrls.add(BASE_URL + POST_SELECT_CHOICE_2_1);
        targetUrls.add(BASE_URL + GET_NEW_PLAYER_BUY_GIFT);
        targetUrls.add(BASE_URL + DRAW_NOTICE_AWARD);
    }




    //地址模块

    public static final String IMAGE_URL = "https://mdhw.oss-cn-hangzhou.aliyuncs.com";
    public static final String A_LI_YUN_ACCESSKEY = "LTAI5tB8C7YcqzdJqaq9imkp";
    public static final String A_LI_YUN_SCRECTKEY = "XlDiIFFEWc4uHBsUlOwZUuLfkfA8QE";
    public static final String A_LI_YUN_BUCKETNAME = "mdhw";
    public static final String A_LI_YUN_ENDPOINT = "http://oss-cn-hangzhou.aliyuncs.com";

}
